import request from '@/utils/request'

export function statistics() {
  return request({
    url: '/index/visitCount',
    data:{}
  })
}

export function dataStatistics(data) {
  return request({
    url: '/index/dataCount',
    data:data
  })
}

export function getUploadFileRequest() {
  return process.env.BASE_API+'/common/uploadFile';
}
export function getDownloadFileRequest() {
  return process.env.BASE_API+'/common/downLoadFile';
}
export function downLoadFileBase64(key,name) {
  return request({
    method:'GET',
    url: '/common/downLoadFileBase64?fileKey='+key+'&fileName='+name,
    data:{}
  })
}
